FUNCTION

derive_nonce

function derive_nonce(op: gtx_operation, nonce: integer): text

A utility function that computes a unique nonce for this operation's message to sign.

Parameters

  • op — the operation to be signed
  • nonce — starting from 0, it will be increased on every operation performed by the same auth descriptor. 0 if the signer is creating a new auth descriptor
© 2024 Chromia